import { controller, action, serverContext } from "maishu-node-mvc";
// import { ComponentInfo } from "../../out/static/components/common/component";
import { MyServerContext } from "../common";

@controller()
export class SystemEnvironmentController {

    /** 获取用户端组件信息 */
    @action("/user/componentInfos")
    getComponentInfos(@serverContext c: MyServerContext): ComponentInfo[] {
        return c.componentInfos;
    }

}